function loadXML(fileName)
{
	//定义XML解析器对象
	var xmlDoc;
	
	//创建XML解析器对象
	try {
		//IE浏览器
		xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
	}
	catch(e) {
		try {
			//火狐类浏览器
			xmlDoc = document.implementation.createDocument("", "", null);
		}
		catch(e) {
			alert(e.message);
		}
		
	}
	
	try {
		xmlDoc.async = false;
		xmlDoc.load(fileName);
		return xmlDoc;
	}
	catch(e) {
		alert(e.message);
	}
	
	return xmlDoc;
}